#!/bin/zsh
########################################################### {{{1 ###########
#   Copyright (C) 2005,2007  Martin Krischik
#
#   This program is free software; you can redistribute it and/or
#   modify it under the terms of the GNU General Public License
#   as published by the Free Software Foundation; either version 2
#   of the License, or (at your option) any later version.
#   
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#   
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
############################################################################
#
#   $Author: krischik $
#
#   $Revision: 798 $
#   $Date: 2007-11-16 18:13:12 +0100 (Fr, 16 Nov 2007) $
#
#   $Id: Make_Tar.zsh 798 2007-11-16 17:13:12Z krischik $
#   $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/solaris/scripts/Make_Tar.zsh $
#
########################################################### }}}1 ###########

setopt No_X_Trace;
setopt No_Verbose;
setopt SH_Word_Split;
setopt Err_Exit;
setopt CSH_Null_Glob;

declare Server="https://eeedit.googlecode.com/svn";
declare Module="org.eeedit.vimclient";
declare Version=0.2.5

svn copy													\
	"${Server}/trunk"										\
	"${Server}/tags/${Module}-${Version}"					\
	-m"tag release ${Module} ${Version}"					;

pushd "../plugins";
    svn export												\
		"${Server}/tags/${Module}-${Version}"				\
		"${Module}-${Version}"								;
    tar --create --bzip2									\
		--file="../SOURCES/${Module}-${Version}.tar.bz2"	\
		"${Module}-${Version}"								;
popd;

########################################################### {{{1 ###########
# vim: textwidth=0 nowrap tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab
# vim: filetype=zsh encoding=utf-8 fileformat=unix
